import stroe from '@/store'
const widthV1 = (callback1, callback2, callback3) => {
  if (stroe.state.width <= 1280) callback1(stroe.state.width)
  else if (stroe.state.width <= 1600) callback2(stroe.state.width)
  else callback3(stroe.state.width)
}

export default {
  install (Vue) {
    Vue.prototype.$adap = {
      widthV1
    }
  }
}
